import axios from 'axios';
import Vue from 'vue';
//传参class   para  j
exports.post = function (o) {
    if (!o.fun) {
        o.fun = function (res) {

        }
    }

    axios.post("/a", {
        class: o.class,
        para: o.para,
        j: o.j
    }).then((res) => {
   
        o.fun(res)
    });


};